package cn.simon.free.redis.mq.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @author simon
 * @date 2021/7/7 11:45
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class Message {
    /**
     * hash对象中key的唯一值
     */
    private Long taskId;
    /**
     * 消息体
     */
    private Object message;
}
